/**
* @Title: InitSysServlet.java
* @Package com.yly.common.suppor.servlet
* @Description: TODO
* @author zz
* @date 2014-3-14 下午11:18:28
* @version V1.0
*/
package com.yly.common.suppor.servlet;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import com.yly.common.suppor.SpringContextHelper;
import com.yly.module.sys.security.dynamic.AuthFacade;

/**
 * @ClassName: InitSysServlet
 * @Description: TODO
 * @author zz
 * @date 2014-3-14 下午11:18:28
 */
@SuppressWarnings("serial")
public class InitSysServlet extends HttpServlet {

	protected static Log loger = LogFactory.getLog(InitSysServlet.class);
	
	/* (非 Javadoc)
	* <p>Title: init</p>
	* <p>Description: </p>
	* @throws ServletException
	* @see javax.servlet.GenericServlet#init()
	*/
	@Override
	public void init() throws ServletException {
		loger.info("----初始化操作开始----");
		super.init();
		AuthFacade authFacade= (AuthFacade)SpringContextHelper.getBean("authFacade");
		authFacade.reCreateFilterChains();
		loger.info("----初始化操作结束----");
	}
}
